/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package job.manager.db.sb;

import javax.ejb.Remote;
import job.manager.db.ec.TimeReportEB;
import job.manager.db.ec.TimeScheduleEB;
import job.manager.db.ec.TimeScheduleRowEB;
import java.util.Collection;
/**
 *
 * @author Administrator
 */
@Remote
public interface TimeRemote {

TimeReportEB getTimeReport(Integer pk);
    Collection<TimeReportEB> getTimeReportByJob(Integer jobbId);
    Collection<TimeReportEB> getTimeReportByProfile(Integer profileId);
    Collection<TimeReportEB> getTimeReportByProfileDateSorted(Integer profileId);
    Collection<TimeReportEB> getAllTimeReport();
    int update(TimeReportEB report);
    TimeReportEB insert(TimeReportEB report);
    int delete(TimeReportEB report);

    TimeScheduleEB getTimeSchedule(java.lang.Integer pk);
    Collection<job.manager.db.ec.TimeScheduleEB> getAllTimeSchedule();
    int update(TimeScheduleEB report);
    TimeScheduleEB insert(TimeScheduleEB report);
    int delete(TimeScheduleEB report);

    TimeScheduleRowEB getTimeScheduleRow(java.lang.Integer pk);
    Collection<job.manager.db.ec.TimeScheduleRowEB> getAllTimeScheduleRow();
    int update(TimeScheduleRowEB report);
    TimeScheduleRowEB insert(TimeScheduleRowEB report);
    int delete(TimeScheduleRowEB report);


    
}
